// 管理整个项目的所有接口
import http from "./http";

// 最受好评电影接口
export const getRatedDataApi = (params) => http.get("/rated/list", params);

// 首页电影列表接口
export const getMoviesDataApi = (params) => http.get("/movies/list", params);

// 首页上拉加载更多数据接口
export const getPullDataApi = (data) => http.post("/movies/more", data);

//详情页数据请求接口
export const getDetailDataApi = (data) => http.post("/movies/detail", data);

// 地区选择数据请求接口
export const getCityDataApi = (params) => http.get("/area/list", params);
